* {
    padding: 0;
    margin: 0;
}

$custom-border-radius: 8px;

#icon {
    display: flex;
    align-items: center;
    justify-content: space-around;

    button {
        display: none;
    }

    img {
        width: 50px;
        height: 35px;
        cursor: pointer;
    }
}

#aside-menu {
    // background-color: red;
    height: 95.2vh;
    border-radius: $custom-border-radius;

    #current-user-avatar {
        display: flex;
        align-items: center;
        height: 50px;

        img {
            width: 45px;
            height: 40px;
            border-radius: 3px;
        }
    }

    #tool-bar-menu {
        margin-top: 50px;
        width: 50px;
        height: 60vh;
        border-radius: $custom-border-radius;

        #bar-items {
            margin-top: 10px;
            width: 40px;
            height: 35px;
            transition: transform 0.3s ease-in-out;

            &:hover {
                transform: scale(0.9);
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

    }

    .n-menu {
        // 如果更改n-menu标签的width属性就需要自己重新设置排列布局（特别是在column布局的情况下）
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0;
        width: 50px;
    }
}

#request-friend-info-list {
    max-height: 300px;

    #request-item {
        width: 90%;
        height: 50px;
        margin: 5px auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;

        #basic-info {
            width: 250px;
            height: 100%;
            line-height: 25px;
        }

        #control-btns {
            width: 150px;
            height: 100%;

            .el-button {
                border: none;
                width: 50px;
            }
        }
    }
}

#refer-friends {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;

    #refer-items {
        margin: 2px;
        padding: 5px;
        width: 150px;
        border: 1px solid darkcyan;
        border-radius: $custom-border-radius;
        transition: transform 0.3s ease-in-out;

        &:hover {
            transform: scale(0.9);
        }

        #info {
            text-align: center;

            p {
                text-wrap: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }
        }
    }
}


.contant-dialog {
    #detail-title {
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }
}


.detail-drawer {


    #user-details-info {
        max-height: 93vh;
        border: 2px solid darkgray;
        border-radius: $custom-border-radius;

        #normal-info {
            width: 100%;
            height: 60px;
            // background-color: wheat;

            &>div:nth-child(1) {
                width: 65px;
                height: 100%;

                img {
                    width: 100%;
                    height: 100%;
                    border-radius: $custom-border-radius;
                }
            }

            &>div:nth-child(2) {
                font-size: 14px;
                height: 50px;
                width: 150px;
                line-height: 25px;
                text-align: center;

                span {
                    margin-left: 5px;
                }
            }
        }

        #basic-info {

            label {
                color: rgba(0, 0, 0, 0.6);
            }

            #area-info,
            #friend-ships,
            #signatureOfTheIndividual,
            #operate-btns {
                margin: 3px;
                margin-top: 40px;
                height: 50px;
                font-weight: bold;
            }

            #area-info {

                p {
                    width: 140px;
                }
            }

            #friend-ships {
                height: auto;

                #ships {
                    width: 70px;
                    height: 35px;
                    max-height: 100px;
                    line-height: 35px;
                    font-size: 14px;

                    p {
                        white-space: nowrap;
                        text-wrap: nowrap;
                        text-overflow: ellipsis;
                        word-break: break-all;
                        overflow: hidden;
                    }
                }
            }

            #operate-btns {

                .el-button {
                    width: 100px;
                    border: none;
                }
            }


        }

    }
}


.chat-group-info {
    border: 2px solid darkgray;
    height: auto;
    border-radius: $custom-border-radius;

    .el-input {
        width: 200px;
    }

    span {
        text-indent: 10px;
    }

    #group-name,
    #group-type {
        margin: 5px;
        width: 290px;
        // border: 1px solid red;
        display: flex;
        align-items: center;
    }

    #operate-btns {
        margin: auto;
        width: 450px;
    }
}